<?php

namespace app\zz_article\controller;

use app\common\controller\Api;
use app\zz_article\model\ArticleTypeM;

class ArticleType extends Api
{
    protected $noNeedLogin = '*';

    public function index()
    {
        $query = ArticleTypeM::where('status', 'normal');
        $list  = $query->select();
        $this->success('', $list);
    }
}
